<% form_for(category) do |f| %>

  <p><label for="name">Name</label><br />
  <%= f.text_field :name %></p>

  <p><%= f.submit "Submit" %></p>

<% end %>